<?php

	/**
	 * @see Bike_Js_CodeContainer
	 */
	require_once 'Bike/Js/CodeContainer.php';
	
	
	class Bike_Js_ForCodeContainer extends Bike_Js_CodeContainer
	{
		static protected $_codeDelimiterDebugPostfix = ' ';
		
		public function _toString()
		{
			$str = parent::_toString();
			$codeDelimiter = $this->getCodeDelimiter();
			$codeDelimiterLen = strlen($codeDelimiter);
			return ((substr($str, -$codeDelimiterLen) == $codeDelimiter) ? substr($str, 0, (strlen($str) - $codeDelimiterLen)) : $str);
		}
	}
